﻿<script setup lang="ts" name="headerPackage1Source">
import logo from '@/assets/logo.svg'

const props = defineProps({
  config: { type: Object }
})
const moduleProperty:any = ref(props.config || {})
watch(
  () => props.config,
  (val) => {
    moduleProperty.value = val
  },
  {
    immediate: true,
    deep: true
  }
)
</script>

<template>
  <header>
    <div class="wrap">
      <a href="javascript:void(0)">
        <component class="logo-img" :is="logo"></component>
        <span>{{moduleProperty.name}}</span>
      </a>
    </div>
  </header>
</template>

<style scoped lang="scss"></style>
